const path = require('path')
module.exports = {
    // mode:'development', //不被压缩的代码
    mode:'production',  //被压缩的代码
    entry:{
        main:'./src/index.js'
    },
    output:{
        filename:'bundle.js',
        path:path.resolve(__dirname,'dist')
    }
}
